<?php
class Nganhang_model extends CI_Model {
	
	var $table_name = 'nganhang';
	var $primary_key = 'nganhangId';
	var $display_field = 'tenNganhang';
	
	function __construct() {
		parent::__construct();
	}
	
	function lstk () {
		
		$this->db->select('nganhang.*, loaikyhan.*');
		$this->db->from('nganhang, loaikyhan');
		
		$ls = $this->db->get();
		return $ls->result_array();
		
	}
}